package com.wesley.command;

/**
 * <h1>电灯命令接受者</h1>
 * <p>聚合打开，关闭两个功能</p>
 *
 * @Date: 2021/8/31
 */
public class LightReceive {

    public void on() {
        System.out.println("电灯打开");
    }

    public void off() {
        System.out.println("电灯关闭");
    }

}
